package com.example.server.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * (Videocollect)表实体类
 *
 * @author makejava
 * @since 2022-11-21 09:10:57
 */
@SuppressWarnings("serial")
public class Videocollect extends Model<Videocollect> {
    //用户id
    @TableId
    private Integer userid;
    //视频id
    private Integer videoid;
    //收藏时间
    private Date time;


    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Integer getVideoid() {
        return videoid;
    }

    public void setVideoid(Integer videoid) {
        this.videoid = videoid;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.userid;
    }
    }

